<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.ViewContratosTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="#{bundle.ViewContratosLabel_id}"/>
                    <h:outputText value="#{contratosController.selected.id}" title="#{bundle.ViewContratosTitle_id}"/>
                    <h:outputText value="#{bundle.ViewContratosLabel_abogado}"/>
                    <h:outputText value="#{contratosController.selected.abogado}" title="#{bundle.ViewContratosTitle_abogado}"/>
                    <h:outputText value="#{bundle.ViewContratosLabel_analista}"/>
                    <h:outputText value="#{contratosController.selected.analista}" title="#{bundle.ViewContratosTitle_analista}"/>
                    <h:outputText value="#{bundle.ViewContratosLabel_entidad}"/>
                    <h:outputText value="#{contratosController.selected.entidad}" title="#{bundle.ViewContratosTitle_entidad}"/>
                    <h:outputText value="#{bundle.ViewContratosLabel_estado}"/>
                    <h:outputText value="#{contratosController.selected.estado}" title="#{bundle.ViewContratosTitle_estado}"/>
                    <h:outputText value="#{bundle.ViewContratosLabel_fecha_contrato}"/>
                    <h:outputText value="#{contratosController.selected.fecha_contrato}" title="#{bundle.ViewContratosTitle_fecha_contrato}"/>
                    <h:outputText value="#{bundle.ViewContratosLabel_fecha_ingreso}"/>
                    <h:outputText value="#{contratosController.selected.fecha_ingreso}" title="#{bundle.ViewContratosTitle_fecha_ingreso}"/>
                    <h:outputText value="#{bundle.ViewContratosLabel_fecha_radicacion}"/>
                    <h:outputText value="#{contratosController.selected.fecha_radicacion}" title="#{bundle.ViewContratosTitle_fecha_radicacion}"/>
                    <h:outputText value="#{bundle.ViewContratosLabel_n_radiacion}"/>
                    <h:outputText value="#{contratosController.selected.n_radiacion}" title="#{bundle.ViewContratosTitle_n_radiacion}"/>
                    <h:outputText value="#{bundle.ViewContratosLabel_objeto}"/>
                    <h:outputText value="#{contratosController.selected.objeto}" title="#{bundle.ViewContratosTitle_objeto}"/>
                    <h:outputText value="#{bundle.ViewContratosLabel_tipocontrato}"/>
                    <h:outputText value="#{contratosController.selected.tipocontrato}" title="#{bundle.ViewContratosTitle_tipocontrato}"/>
                    <h:outputText value="#{bundle.ViewContratosLabel_valor}"/>
                    <h:outputText value="#{contratosController.selected.valor}" title="#{bundle.ViewContratosTitle_valor}"/>
                </h:panelGrid>
                <br />
                <h:commandLink action="#{contratosController.destroyAndView}" value="#{bundle.ViewContratosDestroyLink}"/>
                <br />
                <br />
                <h:commandLink action="Edit" value="#{bundle.ViewContratosEditLink}"/>
                <br />
                <h:commandLink action="#{contratosController.prepareCreate}" value="#{bundle.ViewContratosCreateLink}" />
                <br />
                <h:commandLink action="#{contratosController.prepareList}" value="#{bundle.ViewContratosShowAllLink}"/>
                <br />
                <br />
                <h:commandLink value="#{bundle.ViewContratosIndexLink}" action="/index" immediate="true" />

            </h:form>
        </ui:define>
    </ui:composition>

</html>
